package org.andes.kownledge;

import java.util.List;

import lisp.FileTool;
import lisp.SExp;

public class ScriptEngine {
	List<SExp> propexps;
	//D://lisptemp//test.txt
	public void laodScriptFile(){
		SExp main=FileTool.buildSExp("scripts//entryProp.cl");
		propexps=main.toList();
		for (SExp exp: propexps) {
			buildEntryProps(exp);
		}
		
	}
	public void buildEntryProps(SExp exp){
		List<SExp> exps=exp.toList();
		EntryProp entry=new EntryProp();
		entry.setType(exps.get(1).GetValue());
		entry.setKBForm(exps.get(2).GetValue());
		
		entry.setHelpForm(exps.get(2));
		entry.setKBForm(exps.get(2).GetValue());
		;
	}
	public void buildKey(){
		
	}

}
